Minor tweaks on test-all. Add test-all to Makefile target 'torture'.
authoroliskoli <oliskoli>
Sat, 2 Dec 2006 20:47:14 +0000 (20:47 +0000)
committeroliskoli <oliskoli>
Sat, 2 Dec 2006 20:47:14 +0000 (20:47 +0000)
Makefile.in
test-all

index e53b72d5c869e0dae58e5f4288ce78f757406a82..3aa583c270ce2b00e88fdba21ab07119a050a3f2 100644 (file)
@@ -134,8 +134,20 @@ check:
        ./testo
 
 torture:
-       ./testo
-       ./torture_test
+       @echo "testo in progress... (basic data integrity test)"
+       @./testo
+       @echo "vtesto in progress... (valgrind is watching testo)"
+       @./vtesto
+       @echo "torture_test in progress... (shortname reduction)"
+       @./torture_test
+#
+#      Because there are some "non-real" errors like "IGC: bad date" 
+#      test-all does not stop on errors.
+#      Please inspect the log file (/tmp/gb-test-all.log) for segmentation
+#      faults, math overflows and other hard errors
+#
+       @echo "test-all in progress... (read/write test between all possible formats)"
+       @./test-all -s -r reference/expertgps.gpx
 
 #
 # This will only work on UNIX-like substances.
index 9bc83165793e110042654edb27bed282e91bbc06..3740b01072764f94d8575df563fc744971d479b6 100755 (executable)
--- a/test-all
+++ b/test-all
@@ -197,6 +197,8 @@ if test ! -s $REFGPX; then
     exit 1
 fi
 
+test -s $LOGFILE && rm -f $LOGFILE.bak > /dev/null
+touch $LOGFILE
 touch $CATALOG
 
 log_entry "test-all started."